using System;
using System.Collections.Generic;

using Azure.Domain.Messages;
using Azure.Domain.Models;

namespace Azure.Domain.Services
{
    public interface IBlogService
    {
        Post Create(NewPostMessage message);
        Post LatestPost();
        Post LoadPost(string partitionKey, string rowKey);
        Post LoadPost(int year, int month, int day, string slug);
        IEnumerable<Post> Last(int count);
        void UpdatePost(UpdatePostMessage updatePostMessage);
    }
}


